package com.feige.netty.enums;

import lombok.Getter;

/**
 * @author feige
 */
@Getter
public enum MsgActionEnum {
    /**
     * 第一次连接
     */
    CONNECT(1,"初始化"),
    /**
     * 私聊
     */
    PRIVATE_CHAT(2,"私聊"),

    /**
     * 群聊
     */
    GROUP_CHAT(3,"群聊"),

    /**
     * 签收消息
     */
    SIGNED(4,"签收消息"),

    /**
     * 心跳
     */
    KEEP_ALIVE(5,"客户端保持心跳");

    public final Integer type;
    public final String content;

    MsgActionEnum(int type, String content) {
        this.type = type;
        this.content = content;
    }
}
